<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>用户登陆中心</title>
</head>
<body>
<div id="login">
<!-- <form action="userlogin.action" method="post">
用户名:<input type="text" name="user.username"/><br>
密码 :<input type="password" name="user.password"/><br>
<input type="submit" value="登陆"/>
</form> -->

<!-- 模型驱动不需要使用user.username -->

<form action="userlogin.action" method="post">
用户名:<input type="text" name="username"/><br>
密码 :<input type="password" name="password"/><br>
<input type="submit" value="登陆"/>
</form>
</div>
</body>
</html>